//
//  AMDropdownMeun.h
//  AMwb
//
//  Created by zhc on 15/11/29.
//  Copyright © 2015年 zhc. All rights reserved.
//

#import <UIKit/UIKit.h>
//下拉控制器的封装
@class AMDropdownMeun;
@protocol AMDropdownMeunDelegate <NSObject>

@optional

- (void)dropdownMeunDismiss:(AMDropdownMeun *)menu;
- (void)dropdownMeunshow:(AMDropdownMeun *)menu;
@end


@interface AMDropdownMeun : UIView

@property(nonatomic,weak)id<AMDropdownMeunDelegate>delegate;


+ (instancetype)menu;
- (void)showFrom:(UIView *)from;

-(void)dismiss;

@property(nonatomic,strong) UIView *content;


//内容控制器
@property(nonatomic,strong)UIViewController *contentController;

@end
